package com.smfx.yxt.view;

import java.util.List;

import com.smfx.yxt.common.enums.OfficialApplyStatus;
import com.smfx.yxt.model.AttachmentList;
import com.smfx.yxt.model.OfficialApply;
import com.smfx.yxt.model.ReqOfficialApply;

public class OfficialApplyView extends OfficialApply {

	private static final long serialVersionUID = 601916891648401567L;

	private List<ReqOfficialApply> reqList;
	
	private List<AttachmentList> attachList;

	public List<ReqOfficialApply> getReqList() {
		return reqList;
	}

	public void setReqList(List<ReqOfficialApply> reqList) {
		this.reqList = reqList;
	}

	public List<AttachmentList> getAttachList() {
		return attachList;
	}

	public void setAttachList(List<AttachmentList> attachList) {
		this.attachList = attachList;
	}
	
	public String getStatusText() {
		return OfficialApplyStatus.getValue(super.getStatus());
	}
	
	public String getNextStatusText() {
		return OfficialApplyStatus.getNextValue(super.getStatus());
	}
}
